<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <%@include file="common/head.jspf"%>
    <title>服务详情</title>
    <script src="js/pages/admin/servicedetail.js"></script>
</head>
<body>
    <form method="post" action="./adm/modifyservcie">
        <input type="hidden" name="id" value="<c:out value="${service.id}"/>"/>
        <input type="hidden" name="shopid" value="<c:out value="${service.shopinfo.id}"/>"/>
        名称<input type="text" name="tag1" id="tag1" value="<c:out value="${service.tag1}"/>"/><br/>
        积分<input type="text" name="creditcost" value="<c:out value="${service.creditcost}"/>"/><br/>
        服务类型
        <select name="type">
            <c:forEach var="l" items="${type}">
                <option value="<c:out value="${l.id}"/>" <c:if test="${l.id==service.type.id}">selected</c:if>><c:out value="${l.name}"/></option>
            </c:forEach>
        </select>
        <button type="button" id="submitbtn">提交</button>
    </form>
</body>
</html>
